<!DOCTYPE html>

<!--
  ~ Copyright 2016 Red Hat, Inc. and/or its affiliates.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<div id="view" class="btn-group">

  <style scoped>
    .kie-documents-container {
      padding: 5px 5px 5px 5px;
      width: 300px;
      height: 200px;
    }

    .kie-documents {
      height: 150px;
      overflow: auto;
      border: solid 1px #ddd;
      padding: 2px 2px 2px 2px;
      margin-bottom: 10px;
    }
  </style>

  <button id="registeredDocumentsMenuDropdown" class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown">
    <span data-i18n-key="documents">Documents</span>
    <span class="caret"></span>
  </button>
  <div class="kie-documents-container dropdown-menu dropdown-menu-right" aria-labelledby="documents">
    <div id="registeredDocumentsViewContainer" class="kie-documents">
    </div>
    <button id="newDocumentMenuButton" class="btn btn-default btn-sm" type="button">
      <span data-i18n-key="newDocument">New...</span>
    </button>
    <button id="openDocumentMenuButton" class="btn btn-default btn-sm" type="button">
      <span data-i18n-key="openDocument">Open...</span>
    </button>
  </div>
</div>
